<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('订单')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_id" data-rule="required" data-source="aps/order/index" class="form-control selectpage" name="row[order_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-number" data-rule="required" class="form-control" name="row[number]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Startdate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-startdate" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[startdate]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Finishdate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-finishdate" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[finishdate]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-num" data-rule="required" class="form-control" name="row[num]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('型号-主制程')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mainprocess_id" data-rule="required" data-source="aps/mainprocess/index" class="form-control selectpage" name="row[mainprocess_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('型号-子制程')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-subprocess_id" data-rule="required" data-source="aps/subprocess/index" class="form-control selectpage" name="row[subprocess_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('工序1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure1_id" data-rule="required" data-source="aps/procedure/index" class="form-control selectpage" name="row[procedure1_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('工序2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure2_id" data-rule="required" data-source="aps/procedure/index" class="form-control selectpage" name="row[procedure2_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('工序3')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure3_id" data-rule="required" data-source="aps/procedure/index" class="form-control selectpage" name="row[procedure3_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('工序4')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure4_id" data-rule="required" data-source="aps/procedure/index" class="form-control selectpage" name="row[procedure4_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('工序5')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure5_id" data-rule="required" data-source="aps/procedure/index" class="form-control selectpage" name="row[procedure5_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('工序6')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure6_id" data-rule="required" data-source="aps/procedure/index" class="form-control selectpage" name="row[procedure6_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('工序7')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure7_id" data-rule="required" data-source="aps/procedure/index" class="form-control selectpage" name="row[procedure7_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('工序8')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure8_id" data-rule="required" data-source="aps/procedure/index" class="form-control selectpage" name="row[procedure8_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('工序9')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure9_id" data-rule="required" data-source="aps/procedure/index" class="form-control selectpage" name="row[procedure9_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('工序10')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure10_id" data-rule="required" data-source="aps/procedure/index" class="form-control selectpage" name="row[procedure10_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('工序11')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure11_id" data-rule="required" data-source="aps/procedure/index" class="form-control selectpage" name="row[procedure11_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('工序12')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure12_id" data-rule="required" data-source="aps/procedure/index" class="form-control selectpage" name="row[procedure12_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Procedure1_manhours')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure1_manhours" data-rule="required" class="form-control" step="0.01" name="row[procedure1_manhours]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Procedure2_manhours')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure2_manhours" data-rule="required" class="form-control" step="0.01" name="row[procedure2_manhours]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Procedure3_manhours')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure3_manhours" data-rule="required" class="form-control" step="0.01" name="row[procedure3_manhours]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Procedure4_manhours')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure4_manhours" data-rule="required" class="form-control" step="0.01" name="row[procedure4_manhours]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Procedure5_manhours')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure5_manhours" data-rule="required" class="form-control" step="0.01" name="row[procedure5_manhours]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Procedure6_manhours')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure6_manhours" data-rule="required" class="form-control" step="0.01" name="row[procedure6_manhours]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Procedure7_manhours')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure7_manhours" data-rule="required" class="form-control" step="0.01" name="row[procedure7_manhours]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Procedure8_manhours')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure8_manhours" data-rule="required" class="form-control" step="0.01" name="row[procedure8_manhours]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Procedure9_manhours')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure9_manhours" data-rule="required" class="form-control" step="0.01" name="row[procedure9_manhours]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Procedure10_manhours')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure10_manhours" data-rule="required" class="form-control" step="0.01" name="row[procedure10_manhours]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Procedure11_manhours')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure11_manhours" data-rule="required" class="form-control" step="0.01" name="row[procedure11_manhours]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Procedure12_manhours')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-procedure12_manhours" data-rule="required" class="form-control" step="0.01" name="row[procedure12_manhours]" type="number" value="0.00">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <!--<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>-->
        </div>
    </div>
</form>
